import request from '@/utils/request'

const home = {
  // 各子系统个数
  getBusinessCount(params){
    return request.get("/system/index/getBusinessCount", { params })
  },
  getDeptBusinessCount(params){
    return request.get("/system/index/getDeptBusinessCount", { params })
  },
  // 我的成果
  getMyCg(params){
    return request.get("/cgzh/index/getGztCountForService", { params })
  },
  getDeptCg(params){
    return request.get("/cgzh/index/getDeptGztCountForService", { params })
  },
  // 待我审批
  getMyApproveList(params){
    return request.get("/system/index/getMyApproveList", { params })
  },
  // 我已审批
  getMyApprovedList(params){
    return request.get("/system/index/getMyApprovedList", { params })
  },
}

export default home;
